package cn.lyq.card.base

import android.view.View
import cn.lyq.card.R
import cn.lyq.card.ui.login.LoginActivity
import cn.lyq.card.utils.setClick
import kotlinx.android.synthetic.main.dialog_cash_pwd_unset.*


class LoginErrorFg(override val rootId: Int = R.layout.dialog_login_error) : BaseDialogFg() {

    override fun initView(view: View) {
        super.initView(view)
        isCancelable = false
    }

    override fun initListener(view: View) {
        super.initListener(view)
        tvConfirm.setClick {
            startActivity(LoginActivity::class.java)
        }
    }
}